//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

public class LiveExamJudge implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long examId;
    private Long examUserId;
    private Long userJudgeId;
    private Long userPlayerId;
    private Integer groupNo;
    private String userJudgeName;
    private String userPlayerName;
    private Integer state;
    @TableField(
            exist = false
    )
    private BigDecimal score;
    @TableField(
            exist = false
    )
    private Long expertId;
    @TableField(
            exist = false
    )
    private String userLoginName;
    @TableField(
            exist = false
    )
    private Integer err;

    public LiveExamJudge() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getExamId() {
        return this.examId;
    }

    public Long getExamUserId() {
        return this.examUserId;
    }

    public Long getUserJudgeId() {
        return this.userJudgeId;
    }

    public Long getUserPlayerId() {
        return this.userPlayerId;
    }

    public Integer getGroupNo() {
        return this.groupNo;
    }

    public String getUserJudgeName() {
        return this.userJudgeName;
    }

    public String getUserPlayerName() {
        return this.userPlayerName;
    }

    public Integer getState() {
        return this.state;
    }

    public BigDecimal getScore() {
        return this.score;
    }

    public Long getExpertId() {
        return this.expertId;
    }

    public String getUserLoginName() {
        return this.userLoginName;
    }

    public Integer getErr() {
        return this.err;
    }

    public LiveExamJudge setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveExamJudge setExamId(final Long examId) {
        this.examId = examId;
        return this;
    }

    public LiveExamJudge setExamUserId(final Long examUserId) {
        this.examUserId = examUserId;
        return this;
    }

    public LiveExamJudge setUserJudgeId(final Long userJudgeId) {
        this.userJudgeId = userJudgeId;
        return this;
    }

    public LiveExamJudge setUserPlayerId(final Long userPlayerId) {
        this.userPlayerId = userPlayerId;
        return this;
    }

    public LiveExamJudge setGroupNo(final Integer groupNo) {
        this.groupNo = groupNo;
        return this;
    }

    public LiveExamJudge setUserJudgeName(final String userJudgeName) {
        this.userJudgeName = userJudgeName;
        return this;
    }

    public LiveExamJudge setUserPlayerName(final String userPlayerName) {
        this.userPlayerName = userPlayerName;
        return this;
    }

    public LiveExamJudge setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveExamJudge setScore(final BigDecimal score) {
        this.score = score;
        return this;
    }

    public LiveExamJudge setExpertId(final Long expertId) {
        this.expertId = expertId;
        return this;
    }

    public LiveExamJudge setUserLoginName(final String userLoginName) {
        this.userLoginName = userLoginName;
        return this;
    }

    public LiveExamJudge setErr(final Integer err) {
        this.err = err;
        return this;
    }

    public String toString() {
        return "LiveExamJudge(id=" + this.getId() + ", examId=" + this.getExamId() + ", examUserId=" + this.getExamUserId() + ", userJudgeId=" + this.getUserJudgeId() + ", userPlayerId=" + this.getUserPlayerId() + ", groupNo=" + this.getGroupNo() + ", userJudgeName=" + this.getUserJudgeName() + ", userPlayerName=" + this.getUserPlayerName() + ", state=" + this.getState() + ", score=" + this.getScore() + ", expertId=" + this.getExpertId() + ", userLoginName=" + this.getUserLoginName() + ", err=" + this.getErr() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveExamJudge)) {
            return false;
        } else {
            LiveExamJudge other = (LiveExamJudge)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label167: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label167;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label167;
                    }

                    return false;
                }

                Object this$examId = this.getExamId();
                Object other$examId = other.getExamId();
                if (this$examId == null) {
                    if (other$examId != null) {
                        return false;
                    }
                } else if (!this$examId.equals(other$examId)) {
                    return false;
                }

                label153: {
                    Object this$examUserId = this.getExamUserId();
                    Object other$examUserId = other.getExamUserId();
                    if (this$examUserId == null) {
                        if (other$examUserId == null) {
                            break label153;
                        }
                    } else if (this$examUserId.equals(other$examUserId)) {
                        break label153;
                    }

                    return false;
                }

                Object this$userJudgeId = this.getUserJudgeId();
                Object other$userJudgeId = other.getUserJudgeId();
                if (this$userJudgeId == null) {
                    if (other$userJudgeId != null) {
                        return false;
                    }
                } else if (!this$userJudgeId.equals(other$userJudgeId)) {
                    return false;
                }

                label139: {
                    Object this$userPlayerId = this.getUserPlayerId();
                    Object other$userPlayerId = other.getUserPlayerId();
                    if (this$userPlayerId == null) {
                        if (other$userPlayerId == null) {
                            break label139;
                        }
                    } else if (this$userPlayerId.equals(other$userPlayerId)) {
                        break label139;
                    }

                    return false;
                }

                Object this$groupNo = this.getGroupNo();
                Object other$groupNo = other.getGroupNo();
                if (this$groupNo == null) {
                    if (other$groupNo != null) {
                        return false;
                    }
                } else if (!this$groupNo.equals(other$groupNo)) {
                    return false;
                }

                label125: {
                    Object this$userJudgeName = this.getUserJudgeName();
                    Object other$userJudgeName = other.getUserJudgeName();
                    if (this$userJudgeName == null) {
                        if (other$userJudgeName == null) {
                            break label125;
                        }
                    } else if (this$userJudgeName.equals(other$userJudgeName)) {
                        break label125;
                    }

                    return false;
                }

                label118: {
                    Object this$userPlayerName = this.getUserPlayerName();
                    Object other$userPlayerName = other.getUserPlayerName();
                    if (this$userPlayerName == null) {
                        if (other$userPlayerName == null) {
                            break label118;
                        }
                    } else if (this$userPlayerName.equals(other$userPlayerName)) {
                        break label118;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                label104: {
                    Object this$score = this.getScore();
                    Object other$score = other.getScore();
                    if (this$score == null) {
                        if (other$score == null) {
                            break label104;
                        }
                    } else if (this$score.equals(other$score)) {
                        break label104;
                    }

                    return false;
                }

                label97: {
                    Object this$expertId = this.getExpertId();
                    Object other$expertId = other.getExpertId();
                    if (this$expertId == null) {
                        if (other$expertId == null) {
                            break label97;
                        }
                    } else if (this$expertId.equals(other$expertId)) {
                        break label97;
                    }

                    return false;
                }

                Object this$userLoginName = this.getUserLoginName();
                Object other$userLoginName = other.getUserLoginName();
                if (this$userLoginName == null) {
                    if (other$userLoginName != null) {
                        return false;
                    }
                } else if (!this$userLoginName.equals(other$userLoginName)) {
                    return false;
                }

                Object this$err = this.getErr();
                Object other$err = other.getErr();
                if (this$err == null) {
                    if (other$err != null) {
                        return false;
                    }
                } else if (!this$err.equals(other$err)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveExamJudge;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $examId = this.getExamId();
        result1 = result * 59 + ($examId == null ? 43 : $examId.hashCode());
        Object $examUserId = this.getExamUserId();
        result1 = result * 59 + ($examUserId == null ? 43 : $examUserId.hashCode());
        Object $userJudgeId = this.getUserJudgeId();
        result1 = result * 59 + ($userJudgeId == null ? 43 : $userJudgeId.hashCode());
        Object $userPlayerId = this.getUserPlayerId();
        result1 = result * 59 + ($userPlayerId == null ? 43 : $userPlayerId.hashCode());
        Object $groupNo = this.getGroupNo();
        result1 = result * 59 + ($groupNo == null ? 43 : $groupNo.hashCode());
        Object $userJudgeName = this.getUserJudgeName();
        result1 = result * 59 + ($userJudgeName == null ? 43 : $userJudgeName.hashCode());
        Object $userPlayerName = this.getUserPlayerName();
        result1 = result * 59 + ($userPlayerName == null ? 43 : $userPlayerName.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        Object $expertId = this.getExpertId();
        result1 = result * 59 + ($expertId == null ? 43 : $expertId.hashCode());
        Object $userLoginName = this.getUserLoginName();
        result1 = result * 59 + ($userLoginName == null ? 43 : $userLoginName.hashCode());
        Object $err = this.getErr();
        result1 = result * 59 + ($err == null ? 43 : $err.hashCode());
        return result1;
    }
}
